Example #1
0
        public bool AccountUpdate(EmpresaExact value)
        {
            var _value = Mapper.Map <AccountRoot>(value);

            return(Execute(_value, (c, v) => c.AccountUpdate(_value)));
        }
Example #2
0
 public IActionResult Put(string id, [FromBody] EmpresaExact value)
 {
     _logger.LogDebug("Company Update Call");
     value.Empresa.Id = id;
     return(Execute(value, Method.Put, (s, v) => s.Update(v)));
 }
Example #3
0
 public bool Register(EmpresaExact value)
 {
     return(_service.AccountRegister(value));
 }
Example #4
0
 public IActionResult Post([FromBody] EmpresaExact value)
 {
     _logger.LogDebug("Company Register Call");
     return(Execute(value, Method.Post, (s, v) => s.Register(v)));
 }
Example #5
0
 public bool Update(EmpresaExact value)
 {
     return(_service.AccountUpdate(value));
 }