public IHttpActionResult Post(SessionAddCommand session) { var validator = session.Validation(); if (!validator.IsValid) { return(HandleValidationFailure(validator.Errors)); } return(HandleCallback(() => SessionAppService.Add(session))); }