public async Task <IActionResult> CreateDynamicFiles(string fileName, string moduleName) { if (fileName == null && moduleName == null) { return(BadRequest()); } var res = await _home.CreateDynamicFile(fileName, moduleName); if (res != null) { return(Ok(res)); } return(Conflict("Already Exist")); }