public IHttpActionResult Post(CheckingAccountRegisterCommand cmd) { var validator = cmd.Validate(); if (!validator.IsValid) { return(HandleValidationFailure(validator.Errors)); } return(HandleCallback(() => _accountsService.Add(cmd))); }