public async Task <IActionResult> InsertImgtoChannel([FromRoute] string CID, [FromForm] IFormFile file) { var result = await _ChannelService.InsertImgtoChannel(CID, file); if (result) { return(Ok(successfull)); } return(BadRequest(failed)); }
public async Task <IActionResult> InsertImgtoChannel([FromRoute] string CID, [FromForm] IFormFile file) { var result = await _ChannelService.InsertImgtoChannel(CID, file); if (result) { return(Ok(successfull)); } return(BadRequest(failed)); }