public JsonResult ClearData(int month, int year) { var start = new DateTime(year, month, 1); var end = start.AddMonths(1); _dataSheetService.ClearDataSheet(start, end); return(Json("Success", JsonRequestBehavior.AllowGet)); }
public JsonResult ClearData(int month, int year) { var start = new DateTime(year, month, 1); var end = start.AddMonths(1); _dataSheetService.ClearDataSheet(start, end); return(Json("Success", JsonRequestBehavior.AllowGet)); }