public async Task <List <ContractDTO> > Get() { var lstcontracts = await _contractsManager.GetAllContracts(); // var lstcontractmodel = _mapper.Map<List<ContractModel>>(lstcontracts); return(lstcontracts); }
public async Task <List <ContractDTO> > Get() { var lstcontracts = await _contractsManager.GetAllContracts(); // var lstcontractmodel = _mapper.Map<List<ContractModel>>(lstcontracts); return(lstcontracts); }