public DTO.CareMemberData GetCareMember(DTO.GetCareMemberDataRequest request) { ICareMemberRepository repo = Factory.GetRepository(request, RepositoryType.CareMember); CareMemberData careMember = repo.FindByID(request.Id) as CareMemberData; return(careMember); }
public CareMemberData GetCareMember(GetCareMemberDataRequest request) { try { CareMemberData response = null; ICareMemberRepository repo = Factory.GetRepository(request, RepositoryType.CareMember); response = repo.FindByID(request.Id) as CareMemberData; return(response); } catch (Exception ex) { throw ex; } }