Beispiel #1
0
 public IndependentCompanyDetail GetICDetailsById(int id)
 {
     try {
         IndependentCompanyDetail result = new IndependentCompanyDetail();
         var ic = _context.IndependentCompany.Where(x => x.Id == id && x.IsDelete == false).FirstOrDefault();
         result = _mapper.Map <IndependentCompanyDetail> (ic);
         return(result);
     } catch (Exception ex) {
         throw ex;
     }
 }
        public IndependentCompanyDetail GetICDetailsById(int id)
        {
            IndependentCompanyDetail icDetail = _icRepository.GetICDetailsById(id);

            return(icDetail);
        }