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); }
public Task UpdateAllocatedPlot(AllocatedPlotDto input) { throw new NotImplementedException(); }