public IActionResult CopyAvatars([FromBody] CopyAvatars copyAvatars) { if (!ModelState.IsValid) { return(new BadResponseResult(ModelState)); } MediaService.CopyAvatars(copyAvatars.SourceFolder, copyAvatars.CopyToNewAvatarType, copyAvatars.CopyToAvatarSizeType); return(new OkResponseResult()); }