Esempio n. 1
0
 public PostFacturasController(IPostFacturasService facturasService, IAutoMapperCustom autoMapperCustom)
 {
     if (facturasService == null)
     {
         throw new ArgumentNullException("clientesService");
     }
     if (autoMapperCustom == null)
     {
         throw new ArgumentNullException("autoMapperCustom");
     }
     _facturasService  = facturasService;
     _autoMapperCustom = autoMapperCustom;
 }
 public PostPedidosController(IPostPedidosService pedidosService, IAutoMapperCustom autoMapperCustom)
 {
     if (pedidosService == null)
     {
         throw new ArgumentNullException("presupuestoService");
     }
     if (autoMapperCustom == null)
     {
         throw new ArgumentNullException("autoMapperCustom");
     }
     _pedidosService   = pedidosService;
     _autoMapperCustom = autoMapperCustom;
 }
 public PostAlbaranesController(IPostAlbaranesService albaranesService, IAutoMapperCustom autoMapperCustom)
 {
     if (albaranesService == null)
     {
         throw new ArgumentNullException("clientesService");
     }
     if (autoMapperCustom == null)
     {
         throw new ArgumentNullException("autoMapperCustom");
     }
     _albaranesService = albaranesService;
     _autoMapperCustom = autoMapperCustom;
 }
 public PostUsuarioController(IPostUsuarioService usuariosService, IAutoMapperCustom autoMapperCustom)
 {
     if (usuariosService == null)
     {
         throw new ArgumentNullException("usuariosService");
     }
     if (autoMapperCustom == null)
     {
         throw new ArgumentNullException("autoMapperCustom");
     }
     _usuariosService  = usuariosService;
     _autoMapperCustom = autoMapperCustom;
 }