Beispiel #1
0
 public IActionResult AppendSecondary(int district_id, int salesperson_id)
 {
     try
     {
         provider.AddSecondary(district_id, salesperson_id);
         return(Ok("Secondary Salesperson Appended"));
     }
     catch (Exception e)
     {
         return(BadRequest($"ERROR: {e.Message}"));
     }
 }