public ActionResult PostStoreMaterial() { var pictureNo = Constants.PictureNo.TCRM051F; var terminalNo = _identityDomain.FindTerminalNo(HttpContext.User.Identity); var proceededRecords = _storageOfMaterialDomain.PostStoreMaterial(terminalNo, pictureNo); return(Json(proceededRecords)); }
public ActionResult ProceedData() { // Find current terminal which is sending request. var terminalNo = _identityService.FindTerminalNo(HttpContext.Current.User.Identity); _storageOfMaterialDomain.PostStoreMaterial(terminalNo, "TCRM051F"); return(new HttpStatusCodeResult(HttpStatusCode.OK)); }