示例#1
0
        public ActionResult InsertRol([FromBody] Rubro rubro)
        {
            var result = rubroRepository.InsertRubro(rubro);

            if (result == null)
            {
                return(NotFound());
            }
            return(Ok(result));
        }