public HttpResponseMessage Delete(int id) { _educationLevelService.Delete(id); SuccessResponse response = new SuccessResponse(); return(Request.CreateResponse(HttpStatusCode.OK, response)); }
public IActionResult Delete(short id) { _educationLevelService.Delete(id); return(Ok()); }
public async Task <ActionResponse <EducationLevelDto> > Delete([FromBody] SimpleRequestBase request) { return(await educationLevelService.Delete(request.Id)); }