// POST: api/SendToUser public IHttpActionResult Post([FromBody]FaxFolders sendTo) { try { FaxRepository faxData = new FaxRepository(); faxData.SendFileToAnotherUser(sendTo); return Ok(); } catch { return BadRequest(); } }