public IActionResult Post([FromBody] Music music) { _musicDal.Add(music); return(new StatusCodeResult(201)); }
public IResult AddMusic(Music music) { _musicDal.Add(music); return(new SuccessResult()); }