Ejemplo n.º 1
0
 public JsonResult GetContractForActivity(string customerId,string serviceID,string projectId,string fromMonth,string toMonth)
 {
     BCBSClient client = new BCBSClient();
     string result = client.GetContractDetailForActivity(Convert.ToInt64(projectId), Convert.ToInt64(serviceID), Convert.ToInt64(customerId),fromMonth,toMonth,DateTime.Now.Year.ToString());
     List<ContractInvoiceModel> ContractList = JsonConvert.DeserializeObject<List<ContractInvoiceModel>>(result);
     return Json(ContractList, JsonRequestBehavior.AllowGet);
 }