Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <ActionResult <TerritoryDto> > GetTerritory(string id) { var territory = await _context.Territories.FindAsync(id); if (territory == null) { return(NotFound()); } return(DtoConverter.ConvertToTerritoryDto(territory)); }