public void GetById_ReturnNull(int id) { //act var service = new SiteService(_siteRepository.Object, _facilityRepository.Object, _logger.Object); var item = service.GetById(id); //assert Assert.Null(item); }
public async Task <SiteEditModel> Get(Guid id) { return(await _service.GetById(id)); }