Exemple #1
0
        public JsonResult Delete(int id)
        {
            ResponeModel response = new ResponeModel(true);

            Context.Location dbItem = RepoLocation.FindByPK(id);

            RepoLocation.delete(dbItem);

            return(Json(response));
        }