Exemplo n.º 1
0
 public IActionResult SaveCompany([FromBody] CompanyModel company)
 {
     if (CompanyRepo.SaveCompany(company) != null)
     {
         return(Ok(company));
     }
     return(StatusCode(500));
 }