public IHttpActionResult Getemail_templates()
        {
            ResponseDataDTO <IEnumerable <email_template> > response = new ResponseDataDTO <IEnumerable <email_template> >();

            try
            {
                response.Code    = HttpCode.OK;
                response.Message = MessageResponse.SUCCESS;
                response.Data    = _email_templateservice.GetAll();
            }
            catch (Exception ex)
            {
                response.Code    = HttpCode.INTERNAL_SERVER_ERROR;
                response.Message = ex.Message;
                response.Data    = null;

                Console.WriteLine(ex.ToString());
            }

            return(Ok(response));
        }