public IHttpActionResult Add(Accounts account) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } dataAccess.Add(account); return(Ok()); }