Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public async Task<Season> AddAsync(Season entity)
- {
- var intersections = await CheckTimeIntersections(entity);
- if (intersections.Count > 0)
- throw new SeasonDateTimeException(entity, intersections);
- return await _repo.AddAsync(entity);
- }
- @CheckTimeIntersections
- public async Task<Season> AddAsync(Season entity)
- {
- return await _repo.AddAsync(entity);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement