public void DeleteExitOrder(ExitOrderVM value) { var data = ObjectMapper.Mapper.Map <ExitOrder>(value); _stockMarketUow.ExitOrderRepo.Delete(data); _stockMarketUow.Save(); }
public ActionResult UpdateExitOrder([FromBody] ExitOrderVM value) { try { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } _stockMarketBusinessSevice.UpdateExitOrder(value); return(Ok()); } catch (Exception ex) { return(StatusCode(StatusCodes.Status500InternalServerError, ex)); } }
public void DeleteExitOrder(ExitOrderVM value) { _stockMarketDataSevice.DeleteExitOrder(value); }
public void UpdateExitOrder(ExitOrderVM value) { _stockMarketDataSevice.UpdateExitOrder(value); }
public void AddExitOrder(ExitOrderVM value) { _stockMarketDataSevice.AddExitOrder(value); }