public async Task <ActionResult> DeleteStatuse([FromRoute][Required] long locationId, [FromRoute][Required] long id, [FromQuery][BindRequired] string type) { var res = await _configService.DeleteStatuse(locationId, _authHelpers.GetCurrentUserId().Value, id, type); return(StatusCode(res.GetStatusCode(), res.Result)); }