Exemplo n.º 1
0
 public FixedAssetsController(IAssetsItems pIAssetsItems, IAssetsGroups pIAssetsGroups, IAssetsTypes pIAssetsTypes, IUOMs pIUOMs, IMAssetsItems pIMAssetsItems)
 {
     lIAssetsItems  = pIAssetsItems;
     lIAssetsGroups = pIAssetsGroups;
     lIAssetsTypes  = pIAssetsTypes;
     lIUOMs         = pIUOMs;
     lIMAssetsItems = pIMAssetsItems;
 }
Exemplo n.º 2
0
 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));
     }
 }
Exemplo n.º 3
0
 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
 }
Exemplo n.º 4
0
 public MRsController(IMRs pIMRs, IMMRs pIMMRs, IMAssetsItems pIMAssetsItems)
 {
     lIMRs          = pIMRs;
     lIMMRs         = pIMMRs;
     lIMAssetsItems = pIMAssetsItems;
 }