Exemplo n.º 1
0
        public void newDemand(string subItem, DemandDTO Demand)
        {
            switch (subItem)
            {
            case "newDemand":
                DemandsFunction.newDemand(Demand);
                break;

            case "updateDemand":
                DemandsFunction.updateDemand(Demand);
                break;

            default:
                break;
            }
        }
Exemplo n.º 2
0
 public void newDemand(DemandDTO newDemand)
 {
     DemandsFunction.newDemand(newDemand);
 }
Exemplo n.º 3
0
 public DemandDTO SaveDeamnd(DemandDTO demand)
 {
     demand.interestedId = Helper.getCurrentUserId(Request.GetRequestContext());
     return(DemandsFunction.newDemand(demand));
 }