コード例 #1
0
 public IActionResult RemoveSecondary(int district_id, int salesperson_id)
 {
     try
     {
         provider.RemoveSecondary(district_id, salesperson_id);
         return(Ok("Secondary Salesperson Removed"));
     }
     catch (Exception e)
     {
         return(BadRequest($"ERROR: {e.Message}"));
     }
 }