public async Task <IHttpActionResult> Get([FromUri] int?pagina = null, [FromUri] int?registros = null) { this.servicio = new ServicioBodega(new Context(CustomAuthorizeAttribute.CadenaConexion), this._logger); var items = this.servicio.Get(); return(Ok(new { items })); }
public async Task <IHttpActionResult> Get([FromUri] int?id = null) { this.servicio = new ServicioBodega(new Context(CustomAuthorizeAttribute.CadenaConexion), this._logger); return(Ok()); }