常用方法
常用方法
常用方法
常用方法
public async Task <JsonResult> DeleteEducation(Guid EducationId) { if (EducationId == Guid.Empty) { return(Json(new { failed = true, message = "Geçersiz id." })); } var educationContent = await _educationService.DeleteEducationAsync(EducationId); if (educationContent != null) { return(Json(new { failed = false, message = "Deleted education." })); } else { return(Json(new { failed = true, message = "An error occurred" })); } }