Beispiel #1
0
        public async Task DeleteAllocatedPlotAsync(AllocatedPlotDto input)
        {
            var allocatedPlot = _allocatedPlotRepository.FirstOrDefault(input.Id);

            if (allocatedPlot == null)
            {
                throw new UserFriendlyException("Range Year not Found!");
            }
            await _allocatedPlotRepository.DeleteAsync(allocatedPlot);
        }
Beispiel #2
0
 public Task UpdateAllocatedPlot(AllocatedPlotDto input)
 {
     throw new NotImplementedException();
 }