public async Task <ServiceResponeCode> DeleteAsync(int id) { if (id == 0) { return(ServiceResponeCode.INVALID); } try { await _orderStatusRepository.DeleteAsync(id); return(ServiceResponeCode.OK); } catch { return(ServiceResponeCode.ERROR); } }