Ejemplo n.º 1
0
 public int Insert(OutDocToOrgan_DTO entity)
 {
     ODORep.AddInputParameters("@orgID", entity.orgID);
     ODORep.AddInputParameters("@docID", entity.docID);
     ODORep.AddInputParameters("@incharge", entity.incharge);
     ODORep.AddInputParameters("@guid", entity.guid);
     return(ODORep.IUD("sp_OutDocToOrganization_Insert", CommandType.StoredProcedure));
 }
Ejemplo n.º 2
0
 public ActionResult AddOrganization(OutDocToOrgan_DTO entity)
 {
     ODTOServ.Insert(entity);
     return(Json(new { success = true }));
 }