public FixedAssetsController(IAssetsItems pIAssetsItems, IAssetsGroups pIAssetsGroups, IAssetsTypes pIAssetsTypes, IUOMs pIUOMs, IMAssetsItems pIMAssetsItems) { lIAssetsItems = pIAssetsItems; lIAssetsGroups = pIAssetsGroups; lIAssetsTypes = pIAssetsTypes; lIUOMs = pIUOMs; lIMAssetsItems = pIMAssetsItems; }
public HttpResponseMessage Get(DateTime pTransDate, string pName, string pPosition, string pPrepared, string pFFormat, string pObj) { try { lIReports = new Reports(); lIMAssetsItems = new MAssetsItems(); var _asset = lIMAssetsItems.ToBinding(JsonConvert.DeserializeObject <List <MAssetsItems> >(pObj)); var _stream = lIReports.RptMR(pTransDate, pName, pPosition, pPrepared, pFFormat, _asset); return(ResponseMsg(_stream)); } catch (Exception ex) { return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, ex.Message)); } }
public PageController(IAssetsTypes pIAssetsTypes, IAssetsGroups pIAssetsGroups, IAssetsItems pIAssetsItems, IBusinessUnits pIBusinessUnits, IDepartments pIDepartments, IEmployees pIEmployees, IPositions pIPositions, IMAssetsItems pIMAssetsItems, IMAuditsTrails pIMAuditsTrails, IMEmployees pIMEmployees, IMMRs pIMMRs) { #region BLO lIAssetsTypes = pIAssetsTypes; lIAssetsGroups = pIAssetsGroups; lIAssetsItems = pIAssetsItems; lIBusinessUnits = pIBusinessUnits; lIDepartments = pIDepartments; lIEmployees = pIEmployees; lIPositions = pIPositions; #endregion #region Models lIMAssetsItems = pIMAssetsItems; lIMAuditsTrails = pIMAuditsTrails; lIMEmployees = pIMEmployees; lIMMRs = pIMMRs; #endregion }
public MRsController(IMRs pIMRs, IMMRs pIMMRs, IMAssetsItems pIMAssetsItems) { lIMRs = pIMRs; lIMMRs = pIMMRs; lIMAssetsItems = pIMAssetsItems; }