예제 #1
0
        public async Task <ActionResult> DeleteIds(string ids)
        {
            try
            {
                var result = await _accountServices.Delete(ids);

                if (result.Status == Status.ok)
                {
                    return(Json("ok"));
                }
                else
                {
                    return(Json(result.Message));
                }
            }
            catch
            {
                return(View());
            }
        }