Esempio n. 1
0
 public InfantDetailsResponse AddInfant(InfantRequest infData)
 {
     try
     {
         var query = string.Format("update infantDetails set GuardianId = {0} where InfantId={1}", infData.GuardianId,
                                   infData.InfantId);
         dbService.ExecuteNonQuery(query);
         return(GetInfantDetailsForAdd(infData.InfantId));
     }
     catch
     {
         return(null);
     }
 }
 public InfantDetailsResponse AddInfant(InfantRequest infData)
 {
     return(guardianService.AddInfant(infData));
 }