Пример #1
0
        public DTO.CareMemberData GetCareMember(DTO.GetCareMemberDataRequest request)
        {
            ICareMemberRepository repo       = Factory.GetRepository(request, RepositoryType.CareMember);
            CareMemberData        careMember = repo.FindByID(request.Id) as CareMemberData;

            return(careMember);
        }
Пример #2
0
 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;
     }
 }