Esempio n. 1
0
        public JsonResult Archive(string id)
        {
            try
            {
                _sellerService.Archive(id);
                // Check with Ami whether account should be deleted as well / or at least locked

                return(Json(new { result = "Seller Archived" }));
            }
            catch (Exception ex)
            {
                return(Json(new { error = ex.Message }));
            }
        }