示例#1
0
        public async Task <IHttpActionResult> Seed()
        {
            var seedDataPath = HttpContext.Current.Server.MapPath("~/SeedData");
            await Task.Run(() => _powerService.SeedPowers(seedDataPath));

            return(Ok());
        }