public async Task <ActionResult <Recordlabel> > AddLabel(Recordlabel recordlabel) { try { return(new OkObjectResult(await _labelService.AddRecordlabel(recordlabel))); } catch (Exception ex) { return(new StatusCodeResult(500)); } }
public async Task <ActionResult <Recordlabel> > AddLabel(Recordlabel recordlabel) { try { return(new OkObjectResult(await _labelService.AddRecordlabel(recordlabel))); } catch (Exception ex) { return(new StatusCodeResult(500)); } }