Exemplo n.º 1
0
 public int RtpCreatePlan(RtpCreatePlanRequest request)
 {
     using (var db = new Models.TRIPSEntities())
     {
         var ov = new System.Data.Objects.ObjectParameter("TimePeriodId", typeof(int));
         db.RtpCreatePlan(request.PlanName, request.CycleName, request.CycleDescription, ov);
         return (int)ov.Value;
     }
 }