public HttpResponseMessage Delete(int id)
        {
            _educationLevelService.Delete(id);
            SuccessResponse response = new SuccessResponse();

            return(Request.CreateResponse(HttpStatusCode.OK, response));
        }
Ejemplo n.º 2
0
        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));
 }