public bool AccountUpdate(EmpresaExact value) { var _value = Mapper.Map <AccountRoot>(value); return(Execute(_value, (c, v) => c.AccountUpdate(_value))); }
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))); }
public bool Register(EmpresaExact value) { return(_service.AccountRegister(value)); }
public IActionResult Post([FromBody] EmpresaExact value) { _logger.LogDebug("Company Register Call"); return(Execute(value, Method.Post, (s, v) => s.Register(v))); }
public bool Update(EmpresaExact value) { return(_service.AccountUpdate(value)); }