public List <Indecision> Get(string UserPart, int openIndeicsion)
        {
            Indecision inde = new Indecision();

            return(inde.getFriendIndecisionByUserPartModel(UserPart, openIndeicsion));
        }
        public List <Indecision> Get(string User_manager, bool Bool)
        {
            Indecision cc = new Indecision();

            return(cc.ReadIndecisionID(User_manager));
        }
        public int PutIndecision(Indecision IndecisionID)
        {
            Indecision indecision = new Indecision();

            return(indecision.PutIndecisionModel(IndecisionID.IndecisionID));
        }
        public List <Indecision> Get(int IndecisionID)
        {
            Indecision inde = new Indecision();

            return(inde.getIndecisionByID(IndecisionID));
        }
        public List <Indecision> Get(string userSend)
        {
            Indecision inde = new Indecision();

            return(inde.ReadIndecision(userSend));
        }
 public void Post([FromBody] Indecision indecision)
 {
     indecision.InsertIndecision();
 }
        public List <Indecision> Get()
        {
            Indecision newIndecision = new Indecision();

            return(newIndecision.getIndecisionList());
        }